package com.xyht.sca_s.student_manage_system.modules.personnelManagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.personnelManagement.entity.SmsContractManagement;
import com.xyht.sca_s.student_manage_system.modules.personnelManagement.entity.req.SmsContractManagementAddReq;
import com.xyht.sca_s.student_manage_system.modules.personnelManagement.entity.req.SmsContractManagementDeletedReq;
import com.xyht.sca_s.student_manage_system.modules.personnelManagement.entity.req.SmsContractManagementUpdateReq;

import javax.servlet.http.HttpServletResponse;
import java.util.concurrent.Future;

/**
 * <p>
 * 合同管理 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-09-25
 */
public interface SmsContractManagementService extends IService<SmsContractManagement> {

    ResponseResult addContractManagement(SmsContractManagementAddReq addReq);

    ResponseResult getContractManagementList(Integer pageNum, Integer pageSize, String tchName);

    ResponseResult getContractManagementDetail(String id);

    ResponseResult updateContractManagement(SmsContractManagementUpdateReq updateReq);

    ResponseResult deletedContractManagement(SmsContractManagementDeletedReq deletedReq);

    Future<ResponseResult> tableDownload(String contractId, HttpServletResponse response);
}
